@keyframes _loading-ani {
    50% {
        transform: scale(1);
    }
}

._loading {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    > div {
        margin: 20px;
        height: 40px;
        width: 40px;
        border-radius: 50%;
        transform: scale(0);
        animation: _loading-ani 2.5s infinite ease-in-out;
        background-color: rgba(#fff, 0.85);
        &:nth-of-type(1) {
            animation-delay: 0s;
        }
        &:nth-of-type(2) {
            animation-delay: 0.25s;
        }
        &:nth-of-type(3) {
            animation-delay: 0.5s;
        }
        &:nth-of-type(4) {
            animation-delay: 0.75s;
        }
    }
}

@media screen and (max-width: 640px) {
    ._loading {
        > div {
            margin: 12px;
            height: 24px;
            width: 24px;
        }
    }
}
